@charset "UTF-8";

/*
@infos：默认样式
---------------------------------------------------------*/
html, body { height: 100%; }
body {
    display: flex;
    display: -webkit-flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}
main { height: 56%;}
header, footer { height: 20%; background: #000; }
header, main, footer { width: 80%; }


.left, .center, .right {
    height: 100%;
    background: #808080;
    float: left;
}
.left, .right { width: 20%; }
.center { width: 56%; margin: 0 2%;}

.mask {
    display: none;
    justify-content: center;
    align-items: center;
    text-align: center;

    width: 100%; height: 100%;
    background: rgb(64,64,64);
    color: #fff;

    position: fixed;
    top: 0;
    left: 0;
}



/*
@infos：671px ~ 970px
---------------------------------------------------------*/
@media screen and (min-width: 671px) and (max-width: 970px){
    header, main, footer { width: 671px; }
    .right  { display: none; }
    .left   { width: 25%; }
    .center { width: 73%; margin: 0 0 0 2%;}
}

/*
@infos：401px ~ 670px
---------------------------------------------------------*/
@media screen and (min-width: 401px) and (max-width: 670px){
    header, main, footer { width: 401px; }
    main {
        display: flex;
        display: -webkit-flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
    }
    .left, .right, .center { width: 100%; }
    .center { height: 56%; }
    .left, .right { height: 20%;}
}

/*
@infos：< 400px
---------------------------------------------------------*/
@media screen and (max-width: 400px){
    .mask {
        display: flex;
        display: -webkit-flex;
    }
}

@media screen and (max-height: 450px) {
    .mask {
        display: flex;
        display: -webkit-flex;
    }
}






































































































